﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microhard.Core.DBUtility;
using Microhard.Plat.CRM.Stores.Models;


namespace Microhard.Plat.CRM.Stores.Interface
{
    public interface ISubKA : IRepository<SubKAModel>
    {
        bool IsNameDuplicate(SubKAModel model);
        bool IsCustomeCodeDuplicate(string code);
        bool IsKACode(string code);
        List<SubKAModel> GetSubKAByKAID(Guid kaid);
        ExecutedResult UpdateSubKALocation(SubKAModel model);
    }
}
